#include <ClassFactoryObjectOsgSpark.h>
#include <iostream>
#include <OsgClassDataSource/SparkOsg.h>
ClassFactoryObjectOsgSpark::ClassFactoryObjectOsgSpark( ): ClassFactoryObject()
{

}

ClassFactoryObjectOsgSpark::~ClassFactoryObjectOsgSpark()
{

}

EObject *ClassFactoryObjectOsgSpark::creatObject(const QString &type_name)
{
    if(type_name == "SparkOsg" )
    {
        return new SparkOsg();
    }

    return NULL;

}

QList<QSharedPointer<EObject> > ClassFactoryObjectOsgSpark::generateObjectList()
{
    QList<QSharedPointer<EObject>> object_list;
    {
        EObject* objPtr = new SparkOsg;
        object_list.push_back(objPtr->getSharedPtr());
    }
    return object_list;
}
